import request from '@/utils/request'

// 腾讯广告授权推广账户表列表
export function apiTencentAdvertisingAccountLists(params: any) {
    return request.get({ url: '/ads.tencent_advertising_account/lists', params })
}

// 添加腾讯广告授权推广账户表
export function apiTencentAdvertisingAccountAdd(params: any) {
    return request.post({ url: '/ads.tencent_advertising_account/add', params })
}

// 编辑腾讯广告授权推广账户表
export function apiTencentAdvertisingAccountEdit(params: any) {
    return request.post({ url: '/ads.tencent_advertising_account/edit', params })
}

// 删除腾讯广告授权推广账户表
export function apiTencentAdvertisingAccountDelete(params: any) {
    return request.post({ url: '/ads.tencent_advertising_account/delete', params })
}

// 腾讯广告授权推广账户表详情
export function apiTencentAdvertisingAccountDetail(params: any) {
    return request.get({ url: '/ads.tencent_advertising_account/detail', params })
}

// 删除腾讯广告授权推广账户表
export function apiTencentAdvertisingGetAccountAuthUrl() {
    return request.get({ url: '/ads.tencent_advertising_account/get_auth_url' })
}


// 腾讯广告微信账号绑定
export function apiTencentAdvertisingAccountWechatBind(params: any) {
    return request.get({ url: '/ads.tencent_advertising_account/bind_wechat', params })
}